import request from '@/utils/request'

// 查询评教问卷项记录管理列表
export function listEvaluationItem(query) {
  return request({
    url: '/pingjiao/evaluationItem/list',
    method: 'get',
    params: query
  })
}

// 查询评教问卷项记录管理详细
export function getEvaluationItem(evaluationId) {
  return request({
    url: '/pingjiao/evaluationItem/' + evaluationId,
    method: 'get'
  })
}

// 新增评教问卷项记录管理
export function addEvaluationItem(data) {
  return request({
    url: '/pingjiao/evaluationItem',
    method: 'post',
    data: data
  })
}

// 修改评教问卷项记录管理
export function updateEvaluationItem(data) {
  return request({
    url: '/pingjiao/evaluationItem',
    method: 'put',
    data: data
  })
}

// 删除评教问卷项记录管理
export function delEvaluationItem(evaluationId) {
  return request({
    url: '/pingjiao/evaluationItem/' + evaluationId,
    method: 'delete'
  })
}
